package com.yudaxian.bi.model.dto.user;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

/**
 * @Author: yudaxian
 * @Description: TODO
 * @DateTime: 2024/9/16 17:30
 **/
@AllArgsConstructor
@NoArgsConstructor
@Data
public class UserUpdatePasswordRequest {

    @NotEmpty
    private Long id;

    @NotNull
    private String originPassword;

    @NotNull
    private String newPassword;

    @NotNull
    private String confirmPassword;
}
